package com.xiaoma.service;

import com.baomidou.mybatisplus.extension.service.IService;
import entity.Goods;
import entity.GoodsVo;
import entity.Payorder;

import java.util.List;

/**
 * @Author: xiaoma
 * @Date: 2021/7/9 10:02
 * @description:
 */
public interface GoodsService extends IService<Goods> {
    List<Goods> listGoods();
    boolean productGoods(Goods goods);
    GoodsVo queryGoodsVoById(String id,String uid);
    Integer lockStock(String id,Integer num);
    void unlockStock(Payorder payorder);
    Long incrementLike(String gid);

}
